From 9f895aa3ad2cd03f942d265d0dadb6b0a1b8fb2b Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 17 Jan 2011 09:57:35 -0500 Subject: [PATCH] Make symbolic icons work again Work around https://bugzilla.gnome.org/show_bug.cgi?id=639750 --- gtk/gtkicontheme.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index 7a32269f2e..cfce79f743 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -3071,11 +3071,11 @@ gdk_color_to_css (GdkColor *color) static gchar * gdk_rgba_to_css (GdkRGBA *color) { - return g_strdup_printf ("rgba(%d,%d,%d,%f)", + /* drop a for now, since librsvg does not understand rgba() */ + return g_strdup_printf ("rgb(%d,%d,%d)", (gint)(color->red * 255), (gint)(color->green * 255), - (gint)(color->blue * 255), - color->alpha); + (gint)(color->blue * 255)); } static GdkPixbuf * -- 2.30.2